#ifndef WHEELZOOM_H
#define WHEELZOOM_H

#include <QObject>
#include <qwt_plot.h>

class MainPlot;

class WheelZoom : public QObject
{
    Q_OBJECT

    MainPlot * plot;
    QRectF wheelZoomRect;

public:
    explicit WheelZoom( MainPlot * p );

protected:
    bool eventFilter( QObject * sender ,QEvent * e );

private:
    void handleWheel( QEvent * e );
};

#endif // WHEELZOOM_H
